//
// file name: DinoEditor.h
//
#pragma once

#include <DinoEngineDX10.h>

// Define a new application type, each program should derive a class from wxApp
class DinoEditorApp: public wxApp
{
public:
	DinoEngineDX10 m_engine;

public:
	// override base class virtuals
    // ----------------------------

    // this one is called on application startup and is a good place for the app
    // initialization (doing it here and not in the ctor allows to have an error
    // return: if OnInit() returns false, the application terminates)
    virtual bool OnInit();

public:
	void OnIdle(wxIdleEvent &evt);
	void ActivateLoop(bool on);
};

DECLARE_APP(DinoEditorApp)
